package org.test.jiazi_1.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 课程信息表(Course)实体类
 *
 * @author 2251300222 唐文涛
 * @since 2025-10-24 13:27:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("course")
@Schema(name = "课程信息表(Course)实体类")
public class Course implements Serializable {
    @Serial
    private static final long serialVersionUID = -95122443897137964L;
    /**
     * 课程ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "课程ID")
    private Integer id;
    /**
     * 年级编号
     */
    @Schema(description = "年级编号")
    private Integer gradeId;
    /**
     * 课程编号
     */
    @Schema(description = "课程编号")
    private String courseNo;
    /**
     * 班级名称
     */
    @Schema(description = "班级名称")
    private String courseName;
    /**
     * 负责教师ID
     */
    @Schema(description = "负责教师ID")
    private Integer teacherId;
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createTime;
    /**
     * 是否结束
     */
    @Schema(description = "是否结束")
    private Integer status;
    /**
     * 学期
     */
    @Schema(description = "学期")
    private String term;
}

